(function($) {
	$(function() {
		$('.carousel_window')
			.carousel()
			.each(function() {
				var $this = $(this);
				var doit = function() {
					var offset = $this.offset();
					var $div = $('<div/>').append($('<p/>').html('Drag')).addClass('carousel_alert').css({position: 'absolute'});
					$('body').append($div);
					$div.css({
						left: offset.left + $this.outerWidth() - $div.outerWidth(),
						top: offset.top,
						height: $this.outerHeight() - parseInt($div.css('borderTopWidth')) - parseInt($div.css('borderBottomWidth')) - parseInt($div.css('paddingTop')) - parseInt($div.css('paddingBottom'))
					});
					$div.animate({left: offset.left + $this.outerWidth() - $div.outerWidth() - 200, opacity: 0}, 2000, function() {
						$div.remove();
						delete $div;
					});
					$this.unbind('mouseover', doit);
				};

				$this
					.bind('mouseover', doit);
			});
	});
})(jQuery);